<div class="restaurent_detail">
    <a class="restaurent_image" title="" href="">
        <img width="135" height="135" alt="" src="<?php echo $restaurent->image; ?>">
    </a>
    <div class="restaurent_info">
        
        <h2 class="restaurent_name">
            <a title="" href=""><?php echo $this->common->get_lang($restaurent->name); ?></a>
        </h2>          
        <div class="restaurent_address">
            <p>
                <?php echo $this->common->get_lang($restaurent->address); ?>
            </p>
        </div>
        <div class="restaurent_description">
            <?php echo $this->common->get_lang($restaurent->description); ?>
        </div>
    </div>
</div>
<div id="show"></div>
<div class="main col2-left-layout">
    <div class="col-main"> 
      <!--Category Title-->      
      <!--Category Image-->          
      <div class="category-products">        
        <!--Start Category Product List-->
        <div class="list-right">                
            <?php 
            foreach ($list_res_menu as $item)
                {                        
            ?>                
                <div class="res_menu">
                    <h3><?php echo $item->name; ?> </h3>                    
                    <div class="menu_detail"> 
                    <?php     
                        $product = new Product();           
                        //echo $term->term_id;
                        if($item->id > 0)
                        {
                            $product->include_related('term_taxonomy',array('term_id','taxonomy'))
                                    ->where_related('term_taxonomy', 'taxonomy', 'restaurentmenu')
                                    ->where_related('term_taxonomy', 'term_id', $item->id);  
                            //$list_child_product->include_related('term_taxonomy_product',array('term_order'));                                   
                        }
                        $product->select('hd_term_taxonomies_products.term_order');
                        $product->select('hd_term_taxonomies_products.id AS term_tax_product_id');
                        $product->order_by('hd_term_taxonomies_products.term_order','ASC');
                        $list_child_product = $product->get();
                        $i = 0;
                    ?>    
                    <?php foreach ($list_child_product as $product) { $i++; ?>
                        <div class="food_detail">
                            <div class="food_order"><?php echo $i; ?></div>
                            <div class="food_name" food_id="<?php echo $product->id; ?>"><?php echo $this->common->get_lang($product->name); ?></div>                            
                            <div class="food_add"><a href="<?php echo base_url(); ?>" food_id="<?php echo $product->id; ?>" class="add_to_cart"> <img src="<?php echo base_url();?>content/images/add.png"></a> </div>
                            <div class="food_price"><?php echo $product->price; ?></div>
                        </div>
                    <?php } ?>
                    </div>
                </div>            
                <br>
            <?php }?>        
        </div>                  
        <!--End Category Product List-->       
      </div>
    </div>
    <div class="col-left sidebar"> 
      <!--Start Magic Category Block-->
      <div class="magicat-container">
          <div id="wapper_cart">
            <div class="block">
                <div class="block-title cat_heading"> <strong><span>Các món đã đặt</span></strong> </div>               
                <?php $flag = 0; include('carts_cart.php') ?>
            </div>
            </div>
        
      <!--End Poll--> 
    </div>
  </div>
  <div style="display: none;" id="back-top"> <a href="#"><img alt="" src="images/backtop.gif"/></a> </div>